package com.linkhub.oms.admin.modules.shop.domain.param;

import com.linkhub.oms.admin.modules.user.domain.param.BaseUserParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @Description: ShopQueryParam
 * @Author: echo
 * @Date: 2024/3/20 16:12
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ShopQueryParam", description = "ShopQueryParam")
public class ShopQueryParam extends BaseUserParam implements Serializable {

    @ApiModelProperty(value = "授权状态：null-全部；0-失败；1-成功")
    @Range(min = 0, max = 1, message = "{validation.authorization.range}")
    private Integer authorization;


}
